package com.jic.order.service;

import com.jic.common.base.vo.Page;
import com.jic.order.request.OrderRouteSplitWarehouseAndConditionsRequest;
import com.jic.order.request.OrderRouteSplitWarehouseRequest;
import com.jic.order.response.OrderRouteSplitWarehouseResponse;
import com.jic.common.base.vo.PageResult;

import java.util.List;

/**
* 路由分仓规则表
* @author : 
* @email : 
* @since : 2020-03-03 10:55:11
* @version : v1.0.0
*/
public interface OrderRouteSplitWarehouseService {

    long insert(OrderRouteSplitWarehouseAndConditionsRequest orderRouteSplitWarehouse);

    long delete(Long id);

    Boolean editStatus(String ids);

    long update(OrderRouteSplitWarehouseAndConditionsRequest orderRouteSplitWarehouse);

    OrderRouteSplitWarehouseResponse queryByPrimaryKey(Long id);

    List<OrderRouteSplitWarehouseResponse> query(OrderRouteSplitWarehouseRequest orderRouteSplitWarehouse);

    PageResult<OrderRouteSplitWarehouseResponse> queryPage(OrderRouteSplitWarehouseRequest orderRouteSplitWarehouse, Page pageQuery);


}